package com.swd.order.service;

import com.swd.order.mapper.FlavorMapper;
import com.swd.order.model.Flavor;
import com.swd.order.model.FlavorExample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FlavorService {
    @Autowired
    private FlavorMapper flavorMapper;

    public List<Flavor> queryAll(){
        return flavorMapper.selectByExample(new FlavorExample());
    }
}
